package com.jingbaoduo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jingbaoduo.domain.ShoppingCart;
import com.jingbaoduo.service.ShoppingCartService;
import com.jingbaoduo.mapper.ShoppingCartMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 1
* @description 针对表【shopping_cart】的数据库操作Service实现
* @createDate 2023-09-20 11:23:51
*/
@Service
public class ShoppingCartServiceImpl extends ServiceImpl<ShoppingCartMapper, ShoppingCart>
    implements ShoppingCartService{

    @Autowired
    private ShoppingCartMapper shoppingCartMapper;
    public List<ShoppingCart> listByIds(List<Long> shoppingIds){
        return shoppingCartMapper.selectBatchIds(shoppingIds);

    }

}




